package com.ilongsay.service;

import com.ilongsay.entity.ChaiFenSetting;
import com.ilongsay.entity.FaPiao;
import com.ilongsay.exception.NosuchException;
import com.ilongsay.zhujie.DataSource;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * @Author ilongsay
 * @Email ilongsay@163.com
 * @Copyright 版本所有，侵权必究！
 * @Datetime 2018-11-13 23:03
 * @Describution
 */
@DataSource("dataSourceSqlite")
public interface IBillSqliteService {

    public List<FaPiao> findBill();

    public void insertBill(List<FaPiao> list);

    public void insertBill1(FaPiao faPiao);

    public void updateBill(String newBillCode,String oldBillCode);

    public void deleteDinsticBill();

    public void deleteBills(List<String> list);

    //TODO:需要将这里整合一下
    public void addOldBillCode(String oldBillCode,String billCode);

    public void chaiFenBill(ChaiFenSetting chaiFenSetting) throws InvocationTargetException, IllegalAccessException;
}
